import request from '@/api/myRequest'

export function loginApi(username, password) {
  return request({
    url: `/login?username=${username}&password=${password}`,
    method: 'POST'
  })
}

export default { loginApi }
